package com.dinggao.crossgo.module.roadbook.data;

import java.util.List;

/**
 * created by mapingan on 2018/8/24.
 */
public class RoadBookMineBean {


    /**
     * code : 0
     * message : success
     * data : {"slider":[1],"hasPrePage":false,"startRow":1,"offset":0,"lastPage":true,"prePage":1,"hasNextPage":false,"nextPage":1,"endRow":7,"totalCount":7,"firstPage":true,"totalPages":1,"limit":10,"page":1,"items":[{"lastTime":"2018-08-29 15:01:33","visitation":10,"publicStatus":1,"praiseStatus":"yes","title":"啦啦","picPath":"/img/pic/roadBookJournal/bcf7d33dbbcb4f4bab3d0e0e8bad9c59.jpg","duration":1,"createTime":1535531074000,"raise":"0","distince":"0Km","startTime":"2018-08-29 15:01:33","id":404,"time":"2018/08/29","status":"0"},{"lastTime":"2018-08-29 16:18:37","visitation":5,"publicStatus":1,"praiseStatus":"yes","title":"发布一次路书看看","picPath":"/img/pic/roadBookJournal/eb8e569d3cc64d2f9a5d3a29b8e9d482.jpeg","duration":1,"createTime":1535530744000,"raise":"0","distince":"0Km","startTime":"2018-08-29 16:17:55","id":406,"time":"2018/08/29","status":"0"},{"lastTime":"2018-08-29 15:45:23","visitation":17,"publicStatus":1,"praiseStatus":"yes","title":"发布周三14.45","picPath":"/img/pic/roadBookJournal/f8e1a548cb6841a0a3665ab91ecd704d.jpeg","duration":1,"createTime":1535528749000,"raise":"0","distince":"1.7Km","startTime":"2018-08-29 15:44:42","id":405,"time":"2018/08/29","status":"0"},{"duration":1,"createTime":1535524217000,"raise":"0","distince":"0Km","visitation":3,"publicStatus":1,"praiseStatus":"yes","id":403,"time":"2018/08/29","title":"在","status":"0"},{"duration":1,"createTime":1535444323000,"raise":"0","distince":"0Km","visitation":0,"publicStatus":1,"praiseStatus":"yes","id":389,"time":"2018/08/28","title":"测试","status":"0"},{"lastTime":"2018-08-28 15:17:35","visitation":2,"publicStatus":1,"praiseStatus":"yes","title":"I\u2019m just going ","picPath":"/img/pic/roadBookJournal/46faef388e7f4764b6c04f9d3bf2f070.jpg","duration":1,"createTime":1535440670000,"raise":"0","distince":"0Km","startTime":"2018-08-28 15:17:35","id":378,"time":"2018/08/28","status":"0"},{"lastTime":"2018-08-28 15:09:41","visitation":2,"publicStatus":1,"praiseStatus":"yes","title":"The only ","duration":1,"createTime":1535440195000,"raise":"0","distince":"0Km","startTime":"2018-08-28 15:09:41","id":377,"time":"2018/08/28","status":"0"}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * slider : [1]
         * hasPrePage : false
         * startRow : 1
         * offset : 0
         * lastPage : true
         * prePage : 1
         * hasNextPage : false
         * nextPage : 1
         * endRow : 7
         * totalCount : 7
         * firstPage : true
         * totalPages : 1
         * limit : 10
         * page : 1
         * items : [{"lastTime":"2018-08-29 15:01:33","visitation":10,"publicStatus":1,"praiseStatus":"yes","title":"啦啦","picPath":"/img/pic/roadBookJournal/bcf7d33dbbcb4f4bab3d0e0e8bad9c59.jpg","duration":1,"createTime":1535531074000,"raise":"0","distince":"0Km","startTime":"2018-08-29 15:01:33","id":404,"time":"2018/08/29","status":"0"},{"lastTime":"2018-08-29 16:18:37","visitation":5,"publicStatus":1,"praiseStatus":"yes","title":"发布一次路书看看","picPath":"/img/pic/roadBookJournal/eb8e569d3cc64d2f9a5d3a29b8e9d482.jpeg","duration":1,"createTime":1535530744000,"raise":"0","distince":"0Km","startTime":"2018-08-29 16:17:55","id":406,"time":"2018/08/29","status":"0"},{"lastTime":"2018-08-29 15:45:23","visitation":17,"publicStatus":1,"praiseStatus":"yes","title":"发布周三14.45","picPath":"/img/pic/roadBookJournal/f8e1a548cb6841a0a3665ab91ecd704d.jpeg","duration":1,"createTime":1535528749000,"raise":"0","distince":"1.7Km","startTime":"2018-08-29 15:44:42","id":405,"time":"2018/08/29","status":"0"},{"duration":1,"createTime":1535524217000,"raise":"0","distince":"0Km","visitation":3,"publicStatus":1,"praiseStatus":"yes","id":403,"time":"2018/08/29","title":"在","status":"0"},{"duration":1,"createTime":1535444323000,"raise":"0","distince":"0Km","visitation":0,"publicStatus":1,"praiseStatus":"yes","id":389,"time":"2018/08/28","title":"测试","status":"0"},{"lastTime":"2018-08-28 15:17:35","visitation":2,"publicStatus":1,"praiseStatus":"yes","title":"I\u2019m just going ","picPath":"/img/pic/roadBookJournal/46faef388e7f4764b6c04f9d3bf2f070.jpg","duration":1,"createTime":1535440670000,"raise":"0","distince":"0Km","startTime":"2018-08-28 15:17:35","id":378,"time":"2018/08/28","status":"0"},{"lastTime":"2018-08-28 15:09:41","visitation":2,"publicStatus":1,"praiseStatus":"yes","title":"The only ","duration":1,"createTime":1535440195000,"raise":"0","distince":"0Km","startTime":"2018-08-28 15:09:41","id":377,"time":"2018/08/28","status":"0"}]
         */

        private boolean hasPrePage;
        private int startRow;
        private int offset;
        private boolean lastPage;
        private int prePage;
        private boolean hasNextPage;
        private int nextPage;
        private int endRow;
        private int totalCount;
        private boolean firstPage;
        private int totalPages;
        private int limit;
        private int page;
        private List<Integer> slider;
        private List<ItemsBean> items;

        public boolean isHasPrePage() {
            return hasPrePage;
        }

        public void setHasPrePage(boolean hasPrePage) {
            this.hasPrePage = hasPrePage;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getOffset() {
            return offset;
        }

        public void setOffset(int offset) {
            this.offset = offset;
        }

        public boolean isLastPage() {
            return lastPage;
        }

        public void setLastPage(boolean lastPage) {
            this.lastPage = lastPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public boolean isFirstPage() {
            return firstPage;
        }

        public void setFirstPage(boolean firstPage) {
            this.firstPage = firstPage;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public int getLimit() {
            return limit;
        }

        public void setLimit(int limit) {
            this.limit = limit;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public List<Integer> getSlider() {
            return slider;
        }

        public void setSlider(List<Integer> slider) {
            this.slider = slider;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            /**
             * lastTime : 2018-08-29 15:01:33
             * visitation : 10
             * publicStatus : 1
             * praiseStatus : yes
             * title : 啦啦
             * picPath : /img/pic/roadBookJournal/bcf7d33dbbcb4f4bab3d0e0e8bad9c59.jpg
             * duration : 1
             * createTime : 1535531074000
             * raise : 0
             * distince : 0Km
             * startTime : 2018-08-29 15:01:33
             * id : 404
             * time : 2018/08/29
             * status : 0
             */

            private String lastTime;
            private int visitation;
            private int publicStatus;
            private String praiseStatus;
            private String title;
            private String picPath;
            private int duration;
            private long createTime;
            private String raise;
            private String distince;
            private String startTime;
            private int id;
            private String time;
            private String status;

            public String getLastTime() {
                return lastTime;
            }

            public void setLastTime(String lastTime) {
                this.lastTime = lastTime;
            }

            public int getVisitation() {
                return visitation;
            }

            public void setVisitation(int visitation) {
                this.visitation = visitation;
            }

            public int getPublicStatus() {
                return publicStatus;
            }

            public void setPublicStatus(int publicStatus) {
                this.publicStatus = publicStatus;
            }

            public String getPraiseStatus() {
                return praiseStatus;
            }

            public void setPraiseStatus(String praiseStatus) {
                this.praiseStatus = praiseStatus;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPicPath() {
                return picPath;
            }

            public void setPicPath(String picPath) {
                this.picPath = picPath;
            }

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getRaise() {
                return raise;
            }

            public void setRaise(String raise) {
                this.raise = raise;
            }

            public String getDistince() {
                return distince;
            }

            public void setDistince(String distince) {
                this.distince = distince;
            }

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }
    }
}
